package pers.cz.common.sharding;

import pers.cz.common.annotation.Rule;
import pers.cz.common.pub.AbstractEntity;

/**
 * @program: Jef-orm
 * @description: 分表计算接口
 * @author: Cheng Zhi
 * @create: 2023-11-01 10:01
 **/
public interface IShardingStrategy {

    public String getResult(Rule rule, Object value);

    public String getResult(ShardingStrategy shardingStrategy, Object value);

    public String getResult(ShardingStrategy shardingStrategy, String modulus, Object value);
}
